package com.cloudkinto.service.fbaorderoutput.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * Author Administrator
 *
 * @Des
 * @Version
 * @Date 2020/6/8
 */
@Data
@ApiModel
public class FbaOrderOutputUpdateReq {
    @ApiModelProperty("id")
    @NotNull(message = "order.no.id")
    private long id;

    @ApiModelProperty(value = "申请发货日期")
    private String sendDate;

    @ApiModelProperty("所属店铺")
//    @NotNull(message = "缺少店铺Id")
    private Long shopId;

    @ApiModelProperty("所在仓库")
    @NotNull(message = "pls.choose.out.storage")
    private Long storageId;

    @ApiModelProperty("顾客自定单号")
    private String orderNo;

    @ApiModelProperty("仓库类型 FBA仓库：fba  私人仓库：own")
    private String storageType;

    @ApiModelProperty("收货人")
    private String receiverName;

    @ApiModelProperty("联系电话")
    private String telPhone;

    @ApiModelProperty("邮编")
    private String postCode;

    @ApiModelProperty("所属地区")
    private String area;

    @ApiModelProperty("地址")
    private String address;

    @ApiModelProperty("备注")
    private String tips;

    @ApiModelProperty(value = "配达日期",example = "2020-06-01")
    private String deliveryDate;

    @ApiModelProperty(value = "配达时间段",example = "18-20")
    private String deliveryTime;
//    /**
//     * 代收款
//     */
//    @ApiModelProperty("代收款")
//    private Integer cod;
//    @ApiModelProperty(value = "发货类型 " ,example = "0普通 1次日达")
//    private Integer shipmentType;
    @ApiModelProperty("文件id")
    private Long fileId;

    @ApiModelProperty("产品的文件id")
    private Long productFileId;

    @ApiModelProperty("其他的文件id")
    private Long otherFileId;

    @ApiModelProperty("po号")
    private String poNumber;

    @ApiModelProperty("fba仓库id")
    private Long fbaStorageId;

    @ApiModelProperty("运输id")
    private Long trackId;

    @ApiModelProperty("运输费用")
    private double shipFee;

    @ApiModelProperty("操作费用")
    private double operateFee;

    List<FbaOrderOutputPackageUpdateReq> packageList;
}
